import { service } from './request.js'

export default {
  //登录
  login(data) {
    return service({
      url: `/lyitech/sys/login`,
      method: 'post',
      data,
    })
  },
  //修改密码
  modifyPassword(data) {
    return service({
      url: `/lyitech/sys/user/password`,
      method: 'post',
      data,
    })
  },
  sysMenu(data) {
    return service({
      url: `/lyitech/sys/menu/nav`,
      method: 'get',
      data,
    })
  },
  userInfo(data) {
    return service({
      url: `/lyitech/sys/user/info`,
      method: 'get',
      data,
    })
  },
}
